-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create link to repo that installs MIMIC in a Vagrant VM #31
Conversation
Very much welcome these sorts of contributions. How much effort would it take to update this for MIMIC-III? I think we're going to try to keep this repository focused on MIMIC-III code, just because of the huge differences between II and III. |
I haven't explore MIMIC III yet, but probably not too much effort. I can put something together and update this PR with a link to a repo that does the same for MIMIC III; or I might just update this same repo to do both MIMIC II and MIMIC III, with a prompt for which to use. Thoughts? |
I'd create a new repo for MIMIC-III exclusively as you say. There aren't that many changes - the scripts in this repository should be up to date and facilitate making the Vagrant file (though admittedly I haven't run through them on the latest v1.2 release). We could also add a link to your current repo at the bottom of the README for users who would like to use MIMIC-II. |
Ok, sounds good. When it's ready to go I'll update the PR with a link to the new repo. |
Awesome, thanks!
|
@alistairewj: haven't forgotten about this, just wrapping up a couple other projects in the next week or two, then will be able to get to doing this for MIMIC III. |
No problem - we have a new version with very slight changes coming up
|
@alistairewj: Nearly done using version 3...just run
I'm tempted to replace the expected row counts in the validation script with my current counts to make the script work properly...because I assume everything loaded correctly since some of the tables' counts match the counts on the site, and the ones that differ aren't off by a significant number of rows. Except for maybe Btw, |
In my MYSQL installation of MIMIC-III v1.3, I see the following, which agrees with Nikhil’s numbers: mysql> DROP PROCEDURE IF EXISTS mysql> DELIMITER $$ mysql> DELIMITER ; +--------------------------+ Query OK, 0 rows affected (3 min 36.74 sec)
|
Thanks @nsh87 and @pszolovits. The testing script at: https://github.com/MIT-LCP/mimic-code/blob/master/tests/test_postgres_build.py includes the current row counts for each table:
So from a quick glance it looks like your row counts are correct and the website needs updating. We're hoping to generate the documentation directly from the database in future (perhaps using https://github.com/vokal/pg-table-markdown) which will help to ensure it stays up to date. |
Create link to repo that installs MIMIC in a Vagrant VM
Many thanks Nikhil, this looks great! I've not used the Git submodule functionality before but I'm wondering whether it might be useful here to link directly to your repo? Merging the readme for now... |
@nsh87 Hmm, just realised I've merged the MIMIC-II version, rather than MIMIC-III. Please could you resubmit a pull request when the new version is ready? |
@tompollard, whoops, yes I can! It's done for MIMIC-III also now, using the new row counts, just wrapping up the documentation, most likely today. Thanks! |
Great, thanks :) Sorry, I should have been paying closer attention! |
Former-commit-id: 4f658ce
I'm not sure how best to give this code back to the community (I'm up for alternative ways if this isn't the best). I created a repo that automates the steps given on the website here inside a VM: http://mimic.physionet.org/tutorials/install_mimic_locally/.
There are a lot of advantages to loading the MIMIC II data into a VM. For those that are new to databases, this should make it very easy to get started without mucking about with local databases. And for those who are familiar with software development, I'm sure they could appreciate getting the DB up and running with less work than usual.